//
//  AXFCollectionViewFlowLayout.m
//  AIXF
//
//  Created by Macx on 2017/7/9.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import "AXFCollectionViewFlowLayout.h"
#import "Constant.h"
@implementation AXFCollectionViewFlowLayout

- (void)prepareLayout
{
    [super prepareLayout];
    
   // CGFloat margin = 8;
    
    CGFloat itemW = ScreenWidth / 2;
    
    self.itemSize  = CGSizeMake(itemW, 300);
    
    self.scrollDirection = UICollectionViewScrollDirectionVertical;
    
    self.minimumLineSpacing = 0;
    
    self.minimumInteritemSpacing = 0;
}



@end
